<div class="popup_body">
    <div class="ui_table">
        <form method="post">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td width="70" align="right">运营商：</td>
                    <td><input type="text" maxlength="40" class="text" required="true"
                               name="agentName" value="${(entity.agentName)!''}"/></td>
                </tr>
                <tr>
                    <td width="70" align="right">代理商：</td>
                    <td><input type="text" maxlength="40" class="text" required="true"
                               name="agentName" value="${(entity.agencyName)!''}"/></td>
                </tr>
                <tr>
                    <td width="75" align="right">套餐名称：</td>
                    <td><input type="text" class="text " required="required" maxlength="40"
                               name="settingName" value="${(entity.priceName)!''}" style="width: 168px; height: 28px;"/>
                    </td>
                </tr>
                <tr>
                    <td width="70" align="right">价格：</td>
                    <td><input id="price_${pid}" class="easyui-numberspinner" value="${((entity.price)/ 100 + "元")!''}"
                               style="width:180px;height: 30px " required="required"
                               data-options="min:0.01,precision:2">&nbsp;&nbsp;元
                    </td>
                </tr>
                <tr>
                    <td width="70" align="right">天数：</td>
                    <td><input type="text" maxlength="6" class="easyui-numberspinner" value="${(entity.dayCount)!''}"
                               style="width: 180px; height: 28px;" name="dayCount" data-options="min:0,max:100"
                    /></td>
                </tr>
                <tr>
                    <td width="70" align="right">次数：</td>
                    <td><input type="text" maxlength="6" class="easyui-numberspinner" value="${(entity.number)!''}"
                               style="width: 180px; height: 28px;" name="number" data-options="min:0,max:100"
                    /></td>
                </tr>
                <tr>
                    <td width="120" align="right">日使用上限：</td>
                    <td><input type="text" maxlength="6" class="easyui-numberspinner" value="${(entity.dayUse)!''}"
                               style="width: 180px; height: 28px;" name="number" data-options="min:0,max:100"
                    /></td>
                </tr>
                <tr>
                    <td width="70" align="right">套餐类型：</td>
                    <td>
                        <input type="text" maxlength="6" class="text" value="${(entity.typeName)!''}"
                               style="width: 180px; height: 28px;" name="typeName"
                        />
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top" style="padding-top:10px;">备注：</td>
                    <td><textarea style="width:200px;" maxlength="120" name="memo">${(entity.memo)!''}</textarea></td>
                </tr>
            </table>
        </form>
    </div>
</div>
<div class="popup_btn">
    <button class="btn btn_border close">关闭</button>
</div>
<script>
    (function () {
        var pid = '${pid}',
                win = $('#' + pid),
                form = win.find('form');

        win.find('button.close').click(function () {
            win.window('close');
        });
    })()
</script>
